package study1;

//狗类 继承 动物类
public class Dog extends Animal{
    public Dog(String name,int age){
        super(name,age);
    }
    public void eat(String food){
        System.out.println("狗狗" + this.name + "正在吃" + food);
    }
}
